<form method="post" action="{$config.app_root_url}?module=spa&act=multi" id="multi-delete-form" enctype="multipart/form-data" class="lbpdc">
    <div class="table-header pkg">
        <input class="button" name="multidel" value="Xóa" type="submit" rel="confirm" title="Bạn chắc chắn muốn xóa?" rev="genre-id">
    </div>
    <table class="table-list" cellspacing="0">
        <tr>
            <th width="3%" style="text-align:center"><input type="checkbox" id="allbox" class="checkbox" value="checkall" name="allbox" /></th>
            <th width="2%" align="center"></th>
          
            <th width="60%" align="left">Ảnh thu nhỏ</th>
            <th width="4%" align="center">H/A</th>
            <th width="4%" align="center">Xóa</th>
        </tr>
        {foreach key=image_id item=image from=$data}
        <tr class="{if $artist_id mod 2 !=0}row-odd{else}row-even{/if}">
            <td align="center"><input type="checkbox" class="checkbox genre-id" value="{$artist_id}" name="artist_id[]"/></td>
            <td ><a class="{if $image.ishow == 1}status-online{else}status-offline{/if}">&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
            <td id="avatar-{$image.id}">
                <a class="thumbnail" href="{$config.app_root_url}?module=spa&act=image&code=edit&id={$image.id}" >
                    <img src="../data/images/about/{$image.image}" width="40px" height="40px" />
                    <span><img src="../data/images/about/{$image.image}"<br/>{$image.name}</span>
                </a>
            </td> 
            <td align="center"><a href="{$config.app_root_url}?module=spa&act=image&code=status&id={$image.id}&status={if $image.ishow == 1}0{else}1{/if}" class="{if $image.ishow == 1}offline{else}online{/if}" title="Thay đổi trạng thái">Change</a></td>
            <td align="center"><a href="{$config.app_root_url}?module=spa&act=image&code=delete&id={$image.id}" class="delete" rev="artist-item" rel="confirm" title="Bạn chắc chắn muốn xóa?" onclick="javascript: return confirm('Bạn chắc chắn muốn xóa?')">Xóa</a></td>
        </tr>
        {/foreach} 
     </table>
     <div class="table-footer pkg">
     {if !empty($pagination)}
     <p>&nbsp;&nbsp;</p>
     <div class="pagingBar" align="right">{$pagination}</div>
     {/if} 
     </div>
     <div id="edit-genre"></div>
</form>